package org.p2psimulator.entity.protocol.messages.hibrid;

import org.p2psimulator.entity.Id;
import org.p2psimulator.entity.behavior.BehaviorTypes;
import org.p2psimulator.entity.protocol.messages.MessageTypes;
import org.p2psimulator.entity.reputation.Reputation;

public class EigenOpinion extends HibridMessage {


	private Reputation reputation;
	private Id refferedId;

	public EigenOpinion(Id origin, Id destination, int transactionId,
			BehaviorTypes originBehavior) {
		super(origin, destination, transactionId, originBehavior);
		// TODO Auto-generated constructor stub
	}

	@Override
	public MessageTypes getMessageType() {
		return MessageTypes.EIGEN_OPINION;
	}

	@Override
	public String getName() {
		return MessageTypes.EIGEN_OPINION.getName();
	}

	public Reputation getReputation() {
		return reputation;
	}

	public void setReputation(Reputation reputation) {
		this.reputation = reputation;
	}

	public Id getRefferedId() {
		return refferedId;
	}

	public void setRefferedId(Id refferedId) {
		this.refferedId = refferedId;
	}
}
